package com.hex.es.autoconfig;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * @author WeiHui
 * @date 2019/3/21 14:01
 * @since JDK 1.8
 */
@Data
@Configuration
public class EsParamProperties {

    @Value("${es.param.syncSwitch:false}")
    private Boolean taskSwitch;
}
